import store from "../../store/index.js";
export function pHeight(listHeight){
	
	let visualHeight = window.screen.availHeight-store.state.domHeight.tabTop-store.state.domHeight.tabTop-store.state.domHeight.topBar-30
	// console.log(visualHeight,'可视区域')
	// console.log(listHeight,'list区域')
	if(listHeight<visualHeight){				
		return visualHeight
	}else{
		return 'kong'
	}
	
}